home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 14
/
CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso
/
SetPrefs
< prev
next >
Wrap
Text File
|
1997-06-08
|
2KB
|
42 lines
/* */
options results
PrefsFile = 'RAM:IDer.prefs'
types = 'AGD IFF GIF JPG ANM MPG MOD S3M XMM MED SVX WAV LHA DEF'
address CDPREFS
do i = 1 to words(types)
type = word(types,i)
interpret 'popasl ID' type'0'
interpret type '= result'
interpret 'string ID' type'1'
interpret type '= strip('type' result)'
end
if ~open(prefs,PrefsFile,'W') then request ID FAIL title '"CU Amiga CD preferences"' gadgets 'OK' '"Failed to save preferences"'
else do
call writeln(prefs,'# IDer Prefs file - created by CUCD prefs'||'0a'x)
call writeln(prefs,'0a'x||'# IDer -- © 1995 Eclipse Software'||'0a'x)
call writeln(prefs,'CLASS=IFF_Picture OFFSET=0,"FORM????ILBM" ACTION='IFF)
call writeln(prefs,'CLASS=GIF_Picture SUFFIX=.GIF OFFSET=0,"GIF87a" ACTION='GIF)
call writeln(prefs,'CLASS="JPEG_Picture" OFFSET=6,4A464946 ACTION='JPG)
call writeln(prefs,'CLASS=ANIM SUFFIX=.ANIM OFFSET=0,"FORM????ANIM" ACTION='ANM)
call writeln(prefs,'CLASS=MPEG SUFFIX=.MPG ACTION='MPG)
call writeln(prefs,'CLASS=Module SUFFIX=.MOD NAME=MOD.#? OFFSET=1080,"M.K." FLAGS=T ACTION='MOD)
call writeln(prefs,'CLASS="S3M_Module" SUFFIX=.S3M NAME=S3M.#? OFFSET=44,"SCRM" FLAGS=T ACTION='S3M)
call writeln(prefs,'CLASS="XM_Module" SUFFIX=.XM FLAGS=T ACTION='XMM)
call writeln(prefs,'CLASS="MED_Module" SUFFIX=.MED NAME=MED.#? OFFSET=0,"MMD?" ACTION='MED)
call writeln(prefs,'CLASS="IFF_Sample" OFFSET=0,"FORM????8SVX" ACTION='SVX)
call writeln(prefs,'CLASS="WAV_Sample" OFFSET=0,"RIFF????WAVE" ACTION='WAV)
call writeln(prefs,'CLASS=Guide SUFFIX=.GUIDE OFFSET=0,"@database" FLAGS=I ACTION='AGD)
call writeln(prefs,'CLASS="LhA_Archive" NAME=(#?.LhA|?#.Lzh) OFFSET=2,"-lh?-" ACTION='LHA)
call writeln(prefs,'CLASS=Default ACTION='DEF)
call writeln(prefs,'0a'x||'#END')
call close(prefs)
end
quit